package vo;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class ProductCate implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 3214535235151234L;
	private Integer id;
	private String cateName;
	private ProductCate parent;
	private Set subProductCate = new HashSet();
	private String isLeaf = "y";
	/**
	 * @return the id
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * @param id the id to set
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * @return the cateName
	 */
	public String getCateName() {
		return cateName;
	}
	/**
	 * @param cateName the cateName to set
	 */
	public void setCateName(String cateName) {
		this.cateName = cateName;
	}
	/**
	 * @return the parent
	 */
	public ProductCate getParent() {
		return parent;
	}
	/**
	 * @param parent the parent to set
	 */
	public void setParent(ProductCate parent) {
		this.parent = parent;
	}
	/**
	 * @return the subProductCate
	 */
	public Set getSubProductCate() {
		return subProductCate;
	}
	/**
	 * @param subProductCate the subProductCate to set
	 */
	public void setSubProductCate(Set subProductCate) {
		this.subProductCate = subProductCate;
	}
	public String getIsLeaf() {
		return isLeaf;
	}
	public void setIsLeaf(String isLeaf) {
		this.isLeaf = isLeaf;
	}
}
